<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:38:"template/admin/default/site\index.html";i:1495191531;s:41:"template/admin/default/Public\header.html";i:1496221405;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title><?php echo $site['name']; ?></title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="__STATIC__bootstrap-3.3.0/dist/css/bootstrap.css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="__STATIC__jquery-3.1.1.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="__STATIC__bootstrap-3.3.0/dist/js/bootstrap.min.js"></script>
    <!--载入登陆css-->
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_qq579wn8iod2t9.css">
    <link rel="stylesheet" href="__PUBLIC__css/style.css">
    <script src="__PUBLIC__js/screen.js"></script>
</head>

<body>
<div class="wrap">
    <!--碎屑路径-->
    <div class="debris_nav">
        <ol class="breadcrumb">
            <li><a href="#">系统设置</a></li>
            <li class="active">网站设置</li>
        </ol>
    </div>
    <div class="blank"></div>
    <!--列表内容-->
    <div class="content" id="content_page">
        <form method="post" action="<?php echo url('site/edit_ok'); ?>">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab_add">
            <tr>
                <td valign="top">系统名称</td>
                <td>
                    <input name="name" value="<?php echo $res['name']; ?>" class="form-control" placeholder="请填写系统标题" size="60"><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>后台系统标题显示</span>
                </td>
            </tr>
            <tr>
                <td valign="top">网站标题</td>
                <td>
                    <input name="title" value="<?php echo $res['title']; ?>" class="form-control" placeholder="请填写网站标题" size="60"><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>将在前台模板显示 最长不能超80个字节</span>
                </td>
            </tr>
            <tr>
                <td valign="top">SEO关键字</td>
                <td>
                    <input name="keyword" value="<?php echo $res['keyword']; ?>" class="form-control" placeholder="请填写SEO关键字" size="60"><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>请勿超过60个字节</span>
                </td>
            </tr>
            <tr>
                <td valign="top">描述</td>
                <td>
                    <textarea name="description" class="form-control" rows="3" style="width: 350px;resize:none;"><?php echo $res['description']; ?></textarea><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>请勿超过100个字节</span>
                </td>
            </tr>
            <tr>
            <td valign="top">启用网站</td>
            <td>
                <select name="site_open" class="form-control" >
                    <?php echo $res['site_open_opt']; ?>
                </select>
            </td>
            </tr>
            <tr>
                <td valign="top">电话/手机</td>
                <td>
                    <input name="phone" value="<?php echo $res['phone']; ?>" class="form-control" placeholder="" size="30"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">QQ/旺旺</td>
                <td>
                    <input name="qw" value="<?php echo $res['qw']; ?>" class="form-control" placeholder="" size="30"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">地址</td>
                <td>
                    <input name="address" value="<?php echo $res['address']; ?>" class="form-control" placeholder="" size="60"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">验证码启用</td>
                <td>
                    <div class="checkbox_text ">
                        <label class="checkbox" ><input name="admin_login" type="checkbox" value="1"  <?php if($res['captcha_arr']['admin_login'] == 1): ?>checked<?php endif; ?>/>后台登录</label>
                        <label class="checkbox" ><input name="index_login" type="checkbox" value="1"  <?php if($res['captcha_arr']['index_login'] == 1): ?>checked<?php endif; ?>/>前台登录</label>
                        <label class="checkbox" ><input name="index_comment" type="checkbox" value="1"  <?php if($res['captcha_arr']['index_comment'] == 1): ?>checked<?php endif; ?>/>评论发布</label><br>
                    </div>
                </td>
            </tr>
            <tr>
                <td valign="top">模板风格</td>
                <td>
                    <select name="template" class="form-control">
                        <option value="default">default</option>

                    </select>

                </td>
            </tr>
            <tr>
                <td valign="top">IP地址库</td>
                <td>
                    <select name="ip_library" class="form-control">
                        <option value="1" <?php if($res['ip_library'] == 1): ?> selected<?php endif; ?>>淘宝</option>
                        <option value="2" <?php if($res['ip_library'] == 2): ?> selected<?php endif; ?>>新浪</option>
                    </select>

                </td>
            </tr>
            <tr>
                <td valign="top">ICP备案号</td>
                <td>
                    <input name="icp" value="<?php echo $res['icp']; ?>" class="form-control" size="30"><br>
                </td>
            </tr>
            <tr>
                <td valign="top">第三方代码</td>
                <td>
                    <textarea name="other" class="form-control" rows="5" cols="80"><?php echo $res['other']; ?></textarea><br>
                    <span class="note"><i class="iconfont icon-iconfontmoban"></i>第三方工具代码</span>
                </td>
            </tr>

            <tr>
            <tr>
                <td valign="top"></td>
                <td>
                    <input type="submit" class="btn" value="确定">
                </td>
            </tr>
            <tr>
        </table>
            </form>
    </div>
    <!--列表内容-->
</div>
</body>
<script>
</script>
</html>